package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.AdminMenuFun;
import com.voltmao.persistent.model.AdminMenuFunCriteria;

import java.util.List;
import java.util.Map;

public interface AdminMenuFunMapper {
    int countByExample(AdminMenuFunCriteria example);

    int deleteByExample(AdminMenuFunCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(AdminMenuFun record);

    int insertSelective(AdminMenuFun record);

    List<AdminMenuFun> selectByExample(AdminMenuFunCriteria example);

    AdminMenuFun selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") AdminMenuFun record, @Param("example") AdminMenuFunCriteria example);

    int updateByExample(@Param("record") AdminMenuFun record, @Param("example") AdminMenuFunCriteria example);

    int updateByPrimaryKeySelective(AdminMenuFun record);

    int updateByPrimaryKey(AdminMenuFun record);

    AdminMenuFun selectByExampleForOne(AdminMenuFunCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(AdminMenuFunCriteria example);

    List<Map<String, Object>> selectMapByExample(AdminMenuFunCriteria example);

    List<AdminMenuFun> selectFunsForSysUserId(String sysUserId);
}